<template>
  <div class="largeScreen">
    <header>
      <div class="header_title">航空数据图表展示</div>
    </header>
    <div class="content">
      <BorderBox10 class="left">
        <div class="left-box">
          <div class="left-box-one">
            <h2 class="timeselect">
              <div class="content-title-box" style="padding-left: 0px">
                机场物资管理统计
              </div>
            </h2>
            <div class="left-box-one__echars">
              <right-one />
            </div>
          </div>
          <div class="left-box-two">
            <h2 class="timeselect">
              <div class="content-title-box" style="padding-left: 0px">
                航班省内外流动人员统计
              </div>
            </h2>
            <div class="left-box-one__echars">
              <left-two />
            </div>
          </div>
          <div class="left-box-three">
            <h2 class="timeselect">
              <div class="content-title-box" style="padding-left: 0px">
                航班服务基础设施统计
              </div>
            </h2>
            <div class="left-box-one__echars">
              <right-three />
            </div>
          </div>
          <div>

          </div>
        </div>
      </BorderBox10>
      <!-- <BorderBox11 title="全部人员来源分布图" class="center">
        <center />
      </BorderBox11> -->
      <BorderBox10 class="right">
        <div class="right-box">
          <center />
          <div>

          </div>
        </div>
      </BorderBox10>
    </div>
  </div>
</template>

<script setup lang="ts">
import { BorderBox10 as BorderBox10 } from '@kjgl77/datav-vue3'
import leftTwo from './components/left-two/left-two.vue'
import rightOne from './components/right-one/right-one.vue'
import rightThree from './components/right-three/right-three.vue'
import center from './components/center/center.vue'

</script>

<style lang="scss" scoped>
.largeScreen {
  width: 100%;
  height: 100%;
  background: url("./img/bg.jpeg");
  background-size: cover;
  overflow: hidden;
  display: flex;
  flex-direction: column;

  header {
    width: 100%;
    height: 64px;
    background-size: 100% 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;

    .header_title {
      height: 27px;
      margin-top: -27px;
      font-size: 22px;
      font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
      font-weight: bold;
      color: #ffffff;
      letter-spacing: 1px;
      background: linear-gradient(360deg, #46b1ff 0%, #ffffff 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  }

  .content {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    height: calc(100% - 68px);
    margin-top: -10px;
    // margin: 0 auto;
    overflow: hidden;
    width: 100%;

    .timeselect {
      display: block;
      width: 100%;
      height: 24px;
      margin: 0px;
      line-height: 24px;
      color: #1ac7ff;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;

      div {
        width: 41%;
        display: block;
      }

      .content-title-box {
        font-size: 16px;
        font-weight: bold;
        color: rgba(0, 247, 254, 1);
        line-height: 21px;
        letter-spacing: 1px;
        margin-top: 4px;
        margin-left: 28px;
        position: relative;

        &::after {
          display: block;
          content: "";
          width: 4px;
          height: 16px;
          background: #00f7fe;
          border-radius: 2px;
          position: absolute;
          left: -15px;
          top: 2.5px;
        }
      }
    }

    .left {
      width: 29%;
      height: 100%;

      &-box {
        margin: 10px;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-around;

        &-one {
          width: 100%;
          height: 33%;
          display: flex;
          flex-direction: column;
          // background-image: url("./img/pieChart@2x.png");
          background-repeat: no-repeat;
          // background-size: 50% 50%;
          background-position-x: center;
          background-position-y: 140px;
          background-size: 150px 68px;

          &__echars {
            height: calc(100% - 26px);
            width: 100%;
          }
        }

        &-two {
          width: 100%;
          height: 33%;
          display: flex;
          flex-direction: column;
        }

        &-three {
          width: 100%;
          height: 33%;
          display: flex;
          flex-direction: column;
        }
      }
    }

    .center {
      width: 39%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      // background-image: url("./img/overview-chart-bg.png");
      background-repeat: no-repeat;
      background-size: 100% 100%;


      &-box {
        margin: 10px;
      }
    }

    .right {
      width: 69%;
      height: 100%;

      &-box {
        margin: 10px;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-around;

        &-one {
          width: 100%;
          height: 33%;
          display: flex;
          flex-direction: column;

          &__echars {
            height: calc(100% - 26px);
            width: 100%;
          }
        }

        &-two {
          width: 100%;
          height: 33%;
          display: flex;
          flex-direction: column;
        }

        &-three {
          width: 100%;
          height: 33%;
          display: flex;
          flex-direction: column;
        }
      }
    }
  }
}

#canvas {
  width: 100%;
  height: 100%;
}

.container {
  width: 500px;
  height: 200px;
}
</style>
